POV-Ray : Newsgroups : povray.newusers : VAngleD(V1, V2) : Re: VAngleD(V1, V2) Server Time
4 Sep 2024 22:12:25 EDT (-0400)
  Re: VAngleD(V1, V2)  
From: Tim McMurdo
Date: 15 Jul 2002 19:44:10
Message: <3d335e4a@news.povray.org>
Let's see if I can understand what is going on here.

I first need to determine the axis that is perpendicular to the plane formed
by the two vectors using:

#declare Axis = VPerp_To_Plane(<X4,Y4,Z4>, <-15000,75,2435>);

Then I need to determine the angle on this axis that would point from
<X4,Y4,Z4> to  <-15000,75,2435> using:

#declare Angle = VAngleD(<X4,Y4,Z4>, <-15000,75,2435>)

And finally I need to perform the rotation

Axis_Rotate_Trans(Axis, Angle)


Still not getting the proper results...You are right I am missing something
completely here.


I tried

VRotation(<X4,Y4,Z4>, <-15000,75,2435>, Axis)

but still I don't get the expected results

Help!


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.